#!/usr/bin/env python3
# -*- coding: utf-8 -*-

#整形
a = 123
b = -123
c = 0xff00
# print('a = %d b = %d  c = %d' % a,b,c)
print(' a = %d b = %d c = %x' % (a,b,c))
print('\n')
#浮点型
d = 0.12345
e = 1.23e-9
print('d = %f e = %.11f' % (d,e))
print('\n')
#字符串
print("i am python")
print('I\'m learning\nPython.')
print('\n')
#Bool
print(True)
print(False)
print(2>1)
print(2<1)
print('\n')
#运算符
print(True or False)
print(True or True)
print(True and False)
print('\n')
#none
#空值是Python里一个特殊的值，用None表示。None不能理解为0，因为0是有意义的，而None是一个特殊的空值


aa  = 10
print(aa)
aa = "str"
print(aa)
print('\n')

aaa =  'hello python'
bbb = aaa
aaa = 3
print(bbb)